package com.ftd.controller;

import com.ftd.DBConnection.DBConnection;
import com.ftd.viewmodel.ApiResult;
import com.ftd.viewmodel.MapResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by apple on 16/8/14.
 */
@RestController
public class UpdateHeadIcon {
    @RequestMapping("updateHeadIcon")
    public ApiResult updateHeadIcon(String iconUrl,String phonenumber){
        MapResult mapResult = new MapResult();

        DBConnection.update4(iconUrl,phonenumber);

        return mapResult;
    }

}
